<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="ordercommon.jsp"%>
<%
	String vac01 = (String) request.getParameter("vac01");
	request.setAttribute("vac01", vac01);
%>
<!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="${ctx}/theme/theme_blue/main.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/one/css/outpatient.css" />

<script type="text/javascript" src="${ctx}/js.base/jquery.cookie.js" charset="utf-8"></script>
<script src="${ctx}/one/js/inspect_record.js"></script>
<script src="${ctx}/one/js/outpatient.js"></script>
<script src="${ctx}/one/js/patient_search.js"></script>
<script src="${ctx}/one/js/zhenduan.js"></script>
<script src="${ctx}/one/js/printIndex.js"></script>
<script src="${ctx}/one/js/adviceOption.js"></script>
<script src="${ctx}/one/js/emr.js"></script>
<title class ="title-text" ></title>
<link rel="shortcut icon" href="${ctx}/theme/img/favicon.ico" type="image/x-icon"/>
</head>
<body id="patient-inquiry">
<div id="container">
	<header><div class="title-text"></div></header>
	<div class="container">
	<div id="mid_container">
    	<input id="vac01" type="hidden" value="<%=request.getParameter("vac01")%>" />
		<div id="content" style="left: 0;">
			<div style="position: relative; width: 100%; height: 100%;">
				<div class="three-column">
					<div class="main-header">
						<div class="main-header-content">
							<div class="header-content-left" style="right: 100px;"></div>
							<div class="header-content-right" style="line-height: 31px;width:100px;">
								<div class="btn-group" onclick="seeMoreInfoEvent();">
									<a class="btn btn-transparent ">
										<span class="more-info-text">更多</span>
										<span class="caret"></span>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="main-content">
					<div class="main-header-nav" id="patient_info">
						<ul class="nav nav-underline" role="tablist">
							<li class="active">
								<a href="#advice1" data-toggle="tab">医嘱记录</a>
							</li>
							<li>
								<a href="#Emr1" data-toggle="tab">病历记录</a>
							</li>
							<li>
								<a href="#Jianyan1" data-toggle="tab">检验报告</a>
							</li>
							<li>
								<a href="#Jiancha1" data-toggle="tab">检查报告</a>
							</li>
						</ul>
					</div>
					<div class="tab-content tab_container">
						<!--医嘱记录-->
						<div class="tab-pane active" id="advice1">
							<div class="yizhu_content_table" style="width: 100%; position: relative;">
								<div class="main-content-optionBtn">
									<form class="form-inline pull-left">
										<div class="form-group">
											<select class="form-control" onchange="changeAdcive()" id="bdaSearch">
												<option id="">全部医嘱</option>
												<option id="bda011">西、成药</option>
												<option id="bda018">中草药</option>
												<option id="bda01L">检验</option>
												<option id="bda01E">检查</option>
												<option id="bda01S">手术</option>
												<option id="bda01O">其它</option>
											</select>
										</div>
										<div class="checkbox-group">
											</select>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_1" value="">
												新开
											</label>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_8" value="">
												发送
											</label>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_4" value="">
												作废
											</label>
										</div>
									</form>
									<div class="main-content-btnGroup pull-right">
										<div class="btn-group">
											<button class="btn btn-blue print_btn" onclick="printMultipleAdvice();" name="dyyzd">
												<span class="glyphicon glyphicon-print"></span>
												<span>打印医嘱单</span>
											</button>
											<button class="btn btn-blue print_btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick='printCheckedEvent();' name="dyyzd">
												<span class="caret"></span>
											</button>
											<ul class="dropdown-menu dropdown-menu-right">
												<li onclick='print1();'>
													<a href="#">处方打印预览</a>
												</li>
												<li class="print_type" onclick="chosePrintType();">
													<select id="advice_print">
													</select>
												</li>
												<li role="separator" class="divider iswest"></li>
												<li onclick='print11();' class="iswest">
													<a href="#">输液打印预览</a>
												</li>
												<li class="print_type iswest" onclick="chosePrintType();">
													<select id="advice_print_shuye">
													</select>
												</li>
												<li role="separator" class="divider iswest"></li>
												<li onclick='print111();' class="iswest">
													<a href="#">皮试打印预览</a>
												</li>
												<li class="print_type iswest" onclick="chosePrintType();">
													<select id="advice_print_pishi">
													</select>
												</li>
											</ul>
										</div>
									</div>
								</div>
								<div class="main-content-table" id="table_list" style="overflow-x: auto; bottom: 0;">
									<div class="main-table-container" id="advice_table">
										<!-- <table id="table_list" class="table-responsive table table-hover table-striped table-border">
		
								</table> -->
									</div>
								</div>
								<!-- <div class="main-content-page" style="height: 0px">
									<div class="page-content" id="page"></div>
								</div> -->
							</div>
							<div class="yizhucontainer" id="patient_operation">
								<div class="main-header-nav">
									<ul class="nav nav-underline" role="tablist">
										<li class="active">
											<a href="#jizhu_jijia" data-toggle="tab">医嘱计价内容</a>
										</li>
										<li>
											<a href="#jizhu_fasong" data-toggle="tab">医嘱发送记录</a>
										</li>
										<li>
											<a href="#shoushu_renyuan" data-toggle="tab">手术人员安排</a>
										</li>
										<li>
											<a href="#chufang_zhenduan" data-toggle="tab">处方诊断</a>
										</li>
										<li>
											<a href="#chufang_xingzhi" data-toggle="tab">处方性质</a>
										</li>
										<li>
											<a href="#zhenjin_bianji" data-toggle="tab">诊金项目</a>
										</li>
										<li class="moreCont">
											<div class="btn-group" onclick="yizhuOtherInfo();">
												<a class="btn btn-transparent ">
													<span class="more-info-text">展开</span>
													<span class="caret caret-top"></span>
												</a>
											</div>
										</li>
									</ul>
								</div>
								<div class="tab-content " id="yizhujilu_content">
									<!--医嘱计价内容-->
									<div class="tab-pane active" id="jizhu_jijia">
										<div class="main-content-table">
											<div class="main-table-container" id="jijia_jq_container">
												<table id="yizhujijiaContent" class="table-change table-responsive table table-hover table-striped table-border"></table>
											</div>
										</div>
									</div>
									<!-- 医嘱发送记录 -->
									<div class="tab-pane" id="jizhu_fasong">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>结账状态</td>
															<td>发送时间</td>
															<td>收费项目</td>
															<!-- <td>发送次数</td> -->
															<td>执行科室</td>
															<td>发送人</td>
															<td>执行状态</td>
															<td>单据号</td>
															<td>条形码</td>
														</tr>
													</thead>
													<tbody id="vaf1Fasongjilu_table"></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="shoushu_renyuan">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border" id="shoushurenyuananpai_table">
													<thead>
														<tr>
															<td>岗位</td>
															<td>编号</td>
															<td>姓名</td>
														</tr>
													</thead>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="chufang_zhenduan">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>诊断顺序</td>
															<td>诊断描述</td>
															<td>疑诊</td>
															<td>医嘱单</td>
														</tr>
													</thead>
													<tbody id="chufangzhenduan_table"></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="chufang_xingzhi">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class=" table-responsive table table-hover table-striped table-border" id="chufangshuxing_table">
													<thead>
														<tr>
															<td>处方性质</td>
															<td>处方分类</td>
															<td>医疗类别</td>
														</tr>
													</thead>
													<tbody></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="zhenjin_bianji">
										<div class="main-content-table" style="bottom:40px;">
											<div class="main-table-container" id="zhenjin_edit_container">
												<table class=" table-responsive table table-hover table-striped table-border" id="zhenjin_edit_table">
												</table>
											</div>
										</div>
										<div class="main-content-page">
											<div class="page-content" style="padding: 5px;">
												<button type="button" class="btn btn-main" onclick="saveEditZhenjin()" id="saveEditZhenjin">
													<span>保存</span>
												</button>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="Emr1">
							<!-- <div class="main-header-search">
								<form class="form-inline">
									<button type="button" class="btn btn-main"  onclick="addEmr();" name="xinzeng">
										<span class="glyphicon glyphicon-plus"></span>
										<span>新增</span>
									</button>
									<button type="button" class="btn btn-main"  id="edit_emr_btn" onclick="editApplyFile();" name="xiugai">
										<span class="glyphicon glyphicon-pencil"></span>
										<span>修改</span>
									</button>
									<button type="button" class="btn btn-main" onclick="deleteApplyFile();" name="shanchu_emr">
										<span class="glyphicon glyphicon-trash"></span>
										<span>删除</span>
									</button>
									<button type="button" class="btn btn-main" onclick="completeApplyFile();" name="wancheng_emr">
										<span class="glyphicon glyphicon-off"></span>
										<span>完成病历</span>
									</button>
									<button type="button" class="btn btn-main" id="menu-btn-withdraw" name="chehui_emr">
										<span class="glyphicon glyphicon-import"></span>
										<span>撤回</span>
									</button>
								</form>
							</div> -->
							<div class="tablelist" style="top:5px">
								<div class="tableBl">
									<table class="table table-bordered table-responsive" id="emr_app_file_list"></table>
									<!--表格结束-->
								</div>
							</div>
							<!--表格下方空白区-->
							<div id="blank-content" style="height: 80%;">
								<iframe src="" frameborder='0' allowtransparency='true' height='100%' width='100%'></iframe>
								<div id="file_info_case_history" style="text-align: center; margin: 250px"></div>
								<!-- 病历文件 -->
							</div>
						</div>
						<div class="tab-pane " id="Jianyan1">
							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<li role="presentation" class="active">
									<a href="#jybg_jdms" aria-controls="home" role="tab" data-toggle="tab">经典模式</a>
								</li>
								<li role="presentation">
									<a href="#jybg_jyms" aria-controls="profile" role="tab" data-toggle="tab">简约模式</a>
								</li>
							</ul>
							<!-- Tab panes -->
							<div class="tab-content tab_container">
								<!-- 经典模式 -->
								<div role="tabpanel" class="tab-pane active" id="jybg_jdms" style="width: 100%; height: 100%; position: relative;">
									<div class="main-header-search">
										<div class="form-inline">
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu1"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则二：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu2"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则三：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu3"></select>
											</div>
											<!-- <div class="form-group">
												<label class="label-normal">分组规则三：</label>
												<select class="form-control" id="jiangyan_baogaodan"></select>
											</div> -->
											<!-- <label class="radio-inline">
												<input type="radio" name="inlineRadioOptions" id="" value="">
												图形
											</label>
											<label class="radio-inline">
												<input type="radio" name="inlineRadioOptions" id="" value="" checked>
												常规
											</label> -->
											<button class="btn btn-main" id="jy_jingdian_search" onclick="jingDianJqGride()">
												<span class="glyphicon glyphicon-search"></span>
												查询
											</button>
										<!-- 	<div class="btn-group" style="float: right;">
												<button class="btn btn-main">
													<span class="glyphicon glyphicon-print"></span>
													打印
												</button>
												<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu dropdown-menu-right">
												</ul>
											</div> -->
										</div>
									</div>
									<div class="inspect_container">
										<div class="full_container">
											<div class="row" style="height: 100%">
												<div class="col-md-6" style="height: 100%">
													<div class="full_container">
														<div class="main-content-table" style="top: 0;bottom:7px;">
															<div class="main-table-container" id="patient_grid_content">
																<table id="jingdian_left_table" class="table-responsive table table-hover table-striped table-border">
																</table>
															</div>
														</div>
													</div>
												</div>
												<div class="col-md-6" style="height: 100%;padding-left: 0px;">
													<div class="full_container">
														<ul class="nav nav-tabs" role="tablist">
															<li role="presentation" class="active">
																<a href="#changgui" aria-controls="home" role="tab" data-toggle="tab">常规</a>
															</li>
															<li role="presentation">
																<a href="#tuxing" aria-controls="profile" role="tab" data-toggle="tab">图形</a>
															</li>
														</ul>
														<div class="tab-content tab_container">
															<div role="tabpanel" class="tab-pane active" id="changgui" style="width: 100%; height: 100%">
																<div class="main-content-table" style="top: 0;bottom:7px;">
																	<div class="main-table-container" id="">
																		<table id="jd_changgui" class="table-responsive table table-hover table-striped table-border">
																		</table>
																	</div>
																</div>
															</div>
															<div role="tabpanel" class="tab-pane" id="tuxing" style="width: 100%; height: 100%; position: relative;">
																<div class="main-content-table" style="top: 0;bottom:7px;">
																	<div class="main-table-container" id="jy_jd_tuxCg_content">
																		<table id="jd_tuxing" class="table-responsive table table-hover table-striped table-border">
																		</table>
																	</div>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
								<!-- 	简约模式 -->
								<div role="tabpanel" class="tab-pane" id="jybg_jyms" style="width: 100%; height: 100%; position: relative;">
									<div class="main-header-search">
										<div class="form-inline">
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu1"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu2"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu3"></select>
											</div>
											<button class="btn btn-main" id="jy_recombination" onclick="jianyueJqGride()">
												<span class="glyphicon glyphicon-search"></span>
												查询
											</button>
											<!-- <div class="btn-group" style="float: right;">
												<button class="btn btn-main">
													<span class="glyphicon glyphicon-print"></span>
													打印
												</button>
												<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu dropdown-menu-right">
												</ul>
											</div> -->
										</div>
									</div>
									<div class="main-content-table" style="bottom:7px;">
										<div class="main-table-container" id="simple_format_table">
											<table id="simple-format-table" class="table-responsive table table-hover table-striped table-border">
											</table>
										</div>
									</div>
									
								</div>
							</div>
						</div>
						<div class="tab-pane" id="Jiancha1">
							<div class="main-header-search">
								<div class="form-inline">
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu1"></select>
									</div>
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu2"></select>
									</div>
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu3"></select>
									</div>
									<button class="btn btn-main" id="" onclick="jianChaJqGride()">
										<span class="glyphicon glyphicon-search"></span>
										查询
									</button>
									<!-- <div class="btn-group" style="float: right;">
										<button class="btn btn-main">
											<span class="glyphicon glyphicon-print"></span>
											打印
										</button>
										<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu dropdown-menu-right">
										</ul>
									</div> -->
								</div>
							</div>
							<div class="inspect_container">
								<div class="full_container">
									<div class="row" style="height: 100%">
										<div class="col-md-6" style="height: 100%">
											<div class="full_container">
												<div class="main-content-table" style="top: 0;bottom:7px;">
													<div class="main-table-container" id="check-report_content">
														<table id="check-report-table" class="table-responsive table table-hover table-striped table-border">
														</table>
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-6" style="height: 100%;padding-left: 0px;">
											<div class="full_container">
												<div class="main-content-table" style="top: 0;bottom:7px;">
													<div class="main-table-container" style="overflow:hidden;">
														<iframe  id="papImg" src="" frameborder='0' allowtransparency='true' height='100%' width='100%'></iframe>
														<!-- <table id="grid-data-patient" class="table-responsive table table-hover table-striped table-border">
												</table> -->
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					
				</div>
			</div>
		</div>
	
	</div>
	</div>
	</div>
</body>
</html>
<script type="text/javascript">
	
</script>
